﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
using Insifo.WE;
using System.ServiceModel.Web;
using System.ServiceModel.Activation;

// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "IWCAplicacion" in both code and config file together.
[ServiceContract]

public interface IWCServicio
{
    //[WebGet(ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.WrappedRequest)]
    [OperationContract]
    [WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare)]
    List<DynaTreeNodeMenu> ListarMenuPorNivel(int pintIdAplicacion, int pintIdMenu, string pstrCodigoUsuario);

    //[OperationContract]
    //[WebInvoke(Method = "GET", ResponseFormat = WebMessageFormat.Json, BodyStyle = WebMessageBodyStyle.Bare)]
    //List<DynaTreeNodeMenu> ObtenerMenuAplicacion(int pintIdAplicacion);
}
